package com.mz.ozy.bean;

import java.util.List;

/**
 * Created by Administrator on 2019/3/26.
 */

public class DynamicsBean {
    private String nickname;
    private String reAddress;
    private String title;
    private String created;
    private String content;
    private String useravatar;
    private String img;

    private int id;
    private int tid;
    private int uid;
    private int zanNum;
    private int comNum;
    private int isCollection;
    private int isDelete;
    private boolean isread;
    private Integer[] images;
    private List<ReplyBean> comlist;

    public DynamicsBean(String username, String address, String time, String content, int readNum, int commentNum, boolean isread, Integer[] images) {
        this.nickname = username;
        this.reAddress = address;
        this.created = time;
        this.content = content;
        this.zanNum = readNum;
        this.comNum = commentNum;
        this.isread = isread;
        this.images = images;
    }

    public DynamicsBean() {
        this.nickname = "admin";
        this.reAddress = "深圳";
        this.created = "2020-04-10";
        this.content = "哦司机哦i阿玛尼三等功i个纳米哦啊斯蒂芬i";
        this.zanNum = 20;
        this.comNum = 9;
        this.isread = false;
    }

    public List<ReplyBean> getComlist() {
        return comlist;
    }

    public int getTid() {
        return tid;
    }

    public int getId() {
        return id;
    }

    public int getUid() {
        return uid;
    }

    public String getTitle() {
        return title;
    }

    public String getUseravatar() {
        return useravatar;
    }

    public void setUseravatar(String useravatar) {
        this.useravatar = useravatar;
    }

    public int getIsCollection() {
        return isCollection;
    }

    public void setIsCollection(int isCollection) {
        this.isCollection = isCollection;
    }

    public String getNickname() {
        return nickname;
    }

    public void setNickname(String nickname) {
        this.nickname = nickname;
    }

    public String getReAddress() {
        return reAddress;
    }

    public void setReAddress(String reAddress) {
        this.reAddress = reAddress;
    }

    public String getCreated() {
        return created;
    }

    public void setCreated(String created) {
        this.created = created;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public int getZanNum() {
        return zanNum;
    }

    public void setZanNum(int zanNum) {
        this.zanNum = zanNum;
    }

    public int getComNum() {
        return comNum;
    }

    public void setComNum(int comNum) {
        this.comNum = comNum;
    }

    public boolean isIsread() {
        return isread;
    }

    public void setIsread(boolean isread) {
        this.isread = isread;
    }

    public Integer[] getImages() {
        return images;
    }

    public void setImages(Integer[] images) {
        this.images = images;
    }

    public String getImg() {
        return img;
    }

    public void setImg(String img) {
        this.img = img;
    }

    public int getIsDelete() {
        return isDelete;
    }

    public void setIsDelete(int isDelete) {
        this.isDelete = isDelete;
    }
}
